package com.ycy;

import org.bson.Document;

public interface CriteriaDefinition {

    /**
     * Get {@link Document} representation.
     *
     * @return never {@literal null}.
     */
    Document getCriteriaObject();

    /**
     * Get the identifying {@literal key}.
     *
     * @return can be {@literal null}.
     * @since 1.6
     */
    String getKey();

}
